package nc.vo.arap.bastradisc;

import nc.vo.pubapp.pattern.model.entity.bill.AbstractBill;
import nc.vo.pubapp.pattern.model.meta.entity.bill.BillMetaFactory;
import nc.vo.pubapp.pattern.model.meta.entity.bill.IBillMeta;

@nc.vo.annotation.AggVoInfo(parentVO = "nc.vo.arap.bastradisc.BasDiscVO")
public class AggBasDiscVO extends AbstractBill {

  @Override
  public IBillMeta getMetaData() {
    IBillMeta billMeta =BillMetaFactory.getInstance().getBillMeta(AggBasDiscVOMeta.class);
    return billMeta;
  }

  @Override
  public BasDiscVO getParentVO() {
    return (BasDiscVO) this.getParent();
  }
  
  public BasDiscBVO[] getBodyVOs() {
	  
	  return (BasDiscBVO[]) super.getChildrenVO();
  }
  
  @Override
	public String[] getTableCodes() {
		return new String[] {"card_body"};
	}
  
}